home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98a.txt
/
000066_icon-group-sender _Thu Feb 26 13:59:08 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.7/8.8.7) with SMTP id NAA10622
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Thu, 26 Feb 1998 13:59:02 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA32030; Thu, 26 Feb 1998 13:59:02 -0700
Date: Thu, 26 Feb 1998 08:53:30 -0800
From: kwalker@sfo.harbinger.com (Ken Walker)
Message-Id: <199802261653.IAA15042@varda.premenos.com>
To: icon-group@optima.CS.Arizona.EDU
Subject: Re: Translation into C
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: jSjnozEHirkXj6lSjCHU1Q==
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 1179
> Date: Wed, 25 Feb 98 12:00:29 -0500
> From: Paul Abrahams <abrahams@acm.org>
>
> Mark Evans suggested that the reason one might want an Icon to C
> translator is that the resulting program will execute faster because it
> doesn't need to be interpreted. But I wonder how much difference that
> would really make. If the C program spends most of its time calling
> library routines, then I wouldn't expect much difference at all.
Janalee O'Bagy reported that the Icon Version 6 interpreter typically
spent about 20% of its time interpreting byte codes and the rest of
the time in the run-time system performing operations.
When the Icon compiler is run with optimizations disabled it eliminates
more than that, usually 30%-45% of the execution time. That's because,
even without doing optimizations, the compiler does more than just remove
the interpreter loop. As Clint reported, programs compiled with
optimization usually run about 2 to 4 times faster than when interpreted.
On a few programs the optimizer does significantly better and occationally
it produces only modest improvements.
Ken Walker, kwalker@sfo.harbinger.com
Harbinger Coporation, Concord, Ca. 94520